home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 23 / develop Issue 23 code / ProjectDrag 1.1b8 / Sources / ProjectDrag Sources / SelectFolder.r < prev    next >
Encoding:
Text File  |  1995-06-29  |  1.5 KB  |  93 lines  |  [TEXT/MPS ]

  1. /* SelectFolder.r: Standard File dialog for folder selection for ProjectDrag.
  2.  * Copied from Inside Macintosh: Files. Not yet used in ProjectDrag.
  3.  *
  4.  * A set of applets for drag and drop source control by Tim Maroney.
  5.  * See develop, issue 23 for details.
  6.  *
  7.  * Built on DropShell by Leonard Rosenthol, Stephan Somogyi, and Marshall Clow,
  8.  * and using the MoreFiles utilities by Jim Luther.
  9.  *
  10.  * This software is free, but don't modify and redistribute it without
  11.  * changing the status window to indicate your name and your changes!
  12.  */
  13.  
  14.  
  15. #define SystemSevenOrLater 1
  16. #include "Types.r"
  17. #include "SysTypes.r"
  18.  
  19. resource 'DLOG' (128, purgeable) {
  20.     {0, 0, 196, 344},
  21.     dBoxProc,
  22.     invisible,
  23.     noGoAway,
  24.     0x0,
  25.     128,
  26.     "",
  27.     noAutoCenter
  28. };
  29.  
  30. resource 'DITL' (128, purgeable) {
  31.     {    /* array DITLarray: 10 elements */
  32.         /* [1] */
  33.         {135, 252, 155, 332},
  34.         Button {
  35.             enabled,
  36.             "Open"
  37.         },
  38.         /* [2] */
  39.         {104, 252, 124, 332},
  40.         Button {
  41.             enabled,
  42.             "Cancel"
  43.         },
  44.         /* [3] */
  45.         {0, 0, 0, 0},
  46.         HelpItem {
  47.             disabled,
  48.             HMScanhdlg {
  49.                 -6042
  50.             }
  51.         },
  52.         /* [4] */
  53.         {8, 235, 24, 337},
  54.         UserItem {
  55.             enabled
  56.         },
  57.         /* [5] */
  58.         {32, 252, 52, 332},
  59.         Button {
  60.             enabled,
  61.             "Eject"
  62.         },
  63.         /* [6] */
  64.         {60, 252, 80, 332},
  65.         Button {
  66.             enabled,
  67.             "Desktop"
  68.         },
  69.         /* [7] */
  70.         {29, 12, 159, 230},
  71.         UserItem {
  72.             enabled
  73.         },
  74.         /* [8] */
  75.         {6, 12, 25, 230},
  76.         UserItem {
  77.             enabled
  78.         },
  79.         /* [9] */
  80.         {91, 251, 92, 333},
  81.         Picture {
  82.             disabled,
  83.             11
  84.         },
  85.         /* [10] */
  86.         {168, 23, 188, 215},
  87.         Button {
  88.             enabled,
  89.             "Proud to be a button!"
  90.         }
  91.     }
  92. };
  93.